def pyramid(n):
    for i in range(n):
        t = (n-i-1)*" " + (2*i+1)*"*"
        print(t)

n = int(input("整数:"))
pyramid(n)






